package cn.edu.swpu.sims.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 码之泪殇
 * @date 2020/9/11 23:44
 * 到达胜利之前，无法回头
 */
@Controller
@Slf4j
public class PageController {

    @GetMapping("/page/{pageName}")
    public String getPage(@PathVariable String pageName) {
        return pageName;
    }
}
